package cn.kgc.bean.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("c_user")
public class CUser {
  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private String workId;
  private long age;
  private long sex;
  private String address;
  private String phone;
  private String email;
  private String username;
  private String password;
  private long departmentId;
  private long roleId;
  private long postId;
  private String avatarUrl;
  private String permission;
  private String createBy;
  private Date createTime;
  private String modifyBy;
  private Date modifyTime;
}
